<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>HTML表单</title>
</head>
<body>
    <form action="" method="post">
        <div>
            <label for="name">姓名:</label>
            <input type="text" id="name" name="name">
        </div>
        <br>
        <div>
            <label for="password">密码:</label>
            <input type="password" id="password" name="password">
        </div>
        <br>
        <div>
            <label>性别:</label>
            <label><input type="radio" name="gender" value="1"> 男</label>
            <label><input type="radio" name="gender" value="2"> 女</label>
        </div>
        <br>
        <div>
            <label>爱好:</label>
            <label><input type="checkbox" name="hobby" value="java"> java</label>
            <label><input type="checkbox" name="hobby" value="game"> game</label>
            <label><input type="checkbox" name="hobby" value="sing"> sing</label>
        </div>
        <br>
        <div>
            <label for="image">图像:</label>
            <input type="file" id="image" name="image">
        </div>
        <br>
        <div>
            <label for="birthday">生日:</label>
            <input type="date" id="birthday" name="birthday">
        </div>
        <br>
        <div>
            <label for="time">时间:</label>
            <input type="time" id="time" name="time">
        </div>
        <br>
        <div>
            <label for="datetime">日期时间:</label>
            <input type="datetime-local" id="datetime" name="datetime">
        </div>
        <br>
        <div>
            <label for="email">邮箱:</label>
            <input type="email" id="email" name="email">
        </div>
        <br>
        <div>
            <label for="age">年龄:</label>
            <input type="number" id="age" name="age">
        </div>
        <br>
        <div>
            <label for="degree">学历:</label>
            <select id="degree" name="degree">
                <option value="">--------- 请选择 ----------</option>
                <option value="1">大专</option>
                <option value="2">本科</option>
                <option value="3">硕士</option>
                <option value="4">博士</option>
            </select>
        </div>
        <br>
        <div>
            <label for="description">描述:</label>
            <textarea id="description" name="description" cols="30" rows="10"></textarea>
        </div>
        <br>
        <input type="button" value="按钮">
        <input type="reset" value="重置">
        <input type="submit" value="提交">
    </form>
</body>
</html>